{% extends "base.html" %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-8 text-center">
        <h1 class="mb-4">电商搜索平台</h1>
        <form action="/search" method="get" class="mb-4">
            <div class="input-group">
                <input type="text" name="q" class="form-control form-control-lg"
                       placeholder="搜索商品..." required>
                <button type="submit" class="btn btn-primary btn-lg">搜索</button>
            </div>
        </form>
    </div>
</div>
{% endblock %}